package com.synjones.pay.model.context;

import java.util.HashMap;
import java.util.Map;

/**
 * get default pay context
 * @author zhzy
 */
public class ContextFactory {

    public static IPayContext getDefaultContext(){
        Map<String, Object> reqMap = new HashMap<>();
        Map<String, Object> resMap = new HashMap<>();
        PayRequest request = new PayRequest(reqMap);
        PayResponse response = new PayResponse(resMap);
        return new PayContextDefault(request, response);
    }
    
}
